package com.xjrsoft.module.workflow.dto;

import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

@Data
@ToString
@ApiModel(value = "NwfSchemeInfoDto", description = "新增/更新流程信息设计dto")
public class NwfSchemeInfoDto implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 流程设计实例
     */
    @JsonProperty("F_Id")
    private String id;

    @JsonProperty("F_Code")
    private String code;

    @JsonProperty("F_Name")
    private String name;

    @JsonProperty("F_Category")
    private String category;

    @JsonProperty("F_SchemeId")
    private String schemeId;

    @JsonProperty("F_EnabledMark")
    private Integer enabledMark;

    @JsonProperty("F_Mark")
    private Integer mark;

    @JsonProperty("F_IsInApp")
    private Integer isInApp;

    @JsonProperty("F_Description")
    private String description;

    @JsonProperty("F_DeploymentId")
    private String deploymentId;

    @JsonProperty("F_ModelId")
    private String modelId;

    @JsonProperty("F_ConfigurationInfo")
    private String configurationInfo;

    /**
     * 流程配置json
     */
    private String json;

    /**
     * 流程权限配置json
     */
    private String schemeAuthList;

    /**
     * 流程图json
     */
    private String xml;

    /**
     * 流程任务命名规则
     */
    private String ruleName;

    /**
     * 流程关联任务配置
     */
    private JSONObject associatedTasks;

    /**
     * 流程关联菜单
     */
    private JSONObject menu;

    /**
     * 流程超时设置
     */
    private JSONObject timeoutToRemind;

}
